package com.lwlk.zdk.mapper.wd;

import com.lwlk.zdk.model.wd.wdIndustryDictionary;
import com.lwlk.zdk.model.wd.wdIndustryDictionaryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface wdIndustryDictionaryMapper {
    int countByExample(wdIndustryDictionaryExample example);

    int deleteByExample(wdIndustryDictionaryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(wdIndustryDictionary record);

    int insertSelective(wdIndustryDictionary record);

    List<wdIndustryDictionary> selectByExample(wdIndustryDictionaryExample example);

    wdIndustryDictionary selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") wdIndustryDictionary record, @Param("example") wdIndustryDictionaryExample example);

    int updateByExample(@Param("record") wdIndustryDictionary record, @Param("example") wdIndustryDictionaryExample example);

    int updateByPrimaryKeySelective(wdIndustryDictionary record);

    int updateByPrimaryKey(wdIndustryDictionary record);

    List<Map<String, Object>> selectIndustry(@Param("industryType") String industryType);

    List<wdIndustryDictionary> selectBusinessScope();

    List<wdIndustryDictionary> selectIndustryType();

    List<Map<String, Object>> selectAssessPeriod();

    String selectVehicleColor(@Param("vehicelColor") String vehicelColor);

    String selectAlarmType(@Param("alarmType") String alarmType);

    String selectByItemValue(@Param("s") String s);

    String selectIndustryId(@Param("industryTypeId") String industryTypeId);

    List<Map<String,Object>> selectVehicleAlarmType();

    String selectDgName(@Param("s") String s);
}